package org.jxf.gps.jt808.nettysample.test;

import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.channel.ChannelPipelineFactory;
import org.jboss.netty.channel.Channels;

public class UDPClientChannelPipelineFactory implements ChannelPipelineFactory{
    
    /**
     * set the channel pipeline
     * 
     */
    public ChannelPipeline getPipeline() throws Exception {
        ChannelPipeline pipeline = Channels.pipeline();
        pipeline.addLast("handler", new UDPClientHandler());
        return pipeline;
    }
}